package com.dalin.framework.common.pager;

import java.util.List;

/*****************************************************************************
 * @content: 要返回到前台的页面基本信息                                                                                               *
 * @author : 那建林                                                                                                                                *
 * @crtDate: 2009-04-27                                                     *
 ****************************************************************************/
public class PageInfo implements java.io.Serializable  {
//	private String title; // 动态grid title
//	private List headList; // 
	private int totalRows; // 总记录数
	private List dataList; // 数据库查询返回记录
	public PageInfo() {}
	public PageInfo(int totalRows, List dataList) {
		this.totalRows = totalRows;
		this.dataList = dataList;
	}
	
	
	
	
	
	
	
	
	/*************************************************************************
	 * 以下是bean属性的get/set方法
	 */
	public int getTotalRows() {
		return totalRows;
	}

	public void setTotalRows(int totalRows) {
		this.totalRows = totalRows;
	}

	public List getDataList() {
		return dataList;
	}

	public void setDataList(List dataList) {
		this.dataList = dataList;
	}
}
